import request from '@/utils/request'

export function queryTruckPosByPlateNo(param) {
    return request({
        url: '/api/console/truckPosRecord/queryByPlateNo',
        method: 'post',
        data: param
    })
}

export function queryHisTruckList(param) {
    return request({
        url: '/api/console/truckPosRecord/queryHistoryTruck',
        method: 'post',
        data: param
    })
}

export function QueryHisTrackPoint(param) {
    return request({
        url: '/api/console/truckPosRecord/queryHisTrackPoint',
        method: 'post',
        data: param
    })
}

export function queryRecentPosFromRedis(param) {
    return request({
        url: '/api/console/truckPosRecord/queryRecentPosFromRedis',
        method: 'post',
        data: param
    })
}


export function queryLastHourTruckPoint(param) {
    return request({
        url: '/api/console/truckPosRecord/queryLastHourTruckPoint',
        method: 'post',
        data: param
    })
}
